package org.suyafei.manager;

import org.suyafei.model.TrafficTaskDO;

/**
 * @author 宿某人
 * @Date: 2022/03/24/10:21
 * @Description:
 */
public interface TrafficTaskManager {
    /**
     * 新增
     * @param trafficTaskDO
     * @return
     */
    int add(TrafficTaskDO trafficTaskDO);
    /**
     * 根据用户Id和Id查询
     * @param id
     * @param accountNo
     * @return
     */
    TrafficTaskDO findByIdAndAccountNo(Long id ,Long accountNo);
    /**
     * 根据用户Id和Id删除
     * @param id
     * @param accountNo
     * @return
     */
    int deleteByIdAndAccountNo(Long id, Long accountNo);


}
